package mediator.general;

/**
 * @Author：LJ
 * @Description：通用抽象中介者
 * @Date: 2017/11/28
 * @Modified By:
 */
public abstract class Mediator {
    protected ConcreteColleague1 con1;
    protected ConcreteColleague2 con2;

    public abstract void doSomething1();

    public abstract void doSomething2();

    public ConcreteColleague1 getCon1() {
        return con1;
    }

    public void setCon1(ConcreteColleague1 con1) {
        this.con1 = con1;
    }

    public ConcreteColleague2 getCon2() {
        return con2;
    }

    public void setCon2(ConcreteColleague2 con2) {
        this.con2 = con2;
    }
}
